package com.bush.mall.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;

import com.bush.mall.common.entity.Result;;
import com.bush.mall.ware.entity.WareSkuEntity;

/**
 * 商品库存
 * @author RUN
 * @date 2022-11-29
 */
public interface WareSkuService extends IService<WareSkuEntity> {

    public static final String BEAN_ID = "mall.wareSkuService";

    /**
     * 分页查询商品库存列表
     * @author RUN
     * @date 2022-11-29
     */
     Result queryForPage(Integer current,Integer size);


    /**
     * 创建商品库存表单对象
     * @author RUN
     * @date 2022-11-29
     */
     Result saveWareSku(WareSkuEntity wareSku);


    /**
     * 修改商品库存表单对象
     * @author RUN
     * @date 2022-11-29
     */
     Result updateWareSku(WareSkuEntity wareSku);

    /**
     * 删除指定ID的商品库存
     * @author RUN
     * @date 2022-11-29
     */
     Result deleteWareSku(Long id);

}

